public class Electrical {
    static String pp;
    static String xh;
    static String color;
    static double price;


    public static String getPp() {
        return pp;
    }

    public static void setPp(String pp) {
        Electrical.pp = pp;
    }

    public static String getXh() {
        return xh;
    }

    public static void setXh(String xh) {
        Electrical.xh = xh;
    }

    public static String getColor() {
        return color;
    }

    public static void setColor(String color) {
        Electrical.color = color;
    }

    public static double getPrice() {
        return price;
    }

    public static void setPrice(double price) {
        Electrical.price = price;
    }
    public static void dq(){
        System.out.println("品牌"+pp+"型号"+xh+"颜色"+color+"售价"+price);
    }
}
